package com.briup.es.domain.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

@TableName(value ="es_order")
@Data
@Builder
public class Order implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    private Integer userId;

    private LocalDateTime createDate;

    private String payWay;

    private Integer trackingNumber;

    private String distributionMode;

    private Integer status;

    private LocalDateTime payDate;

    private String receiveUsername;

    private String receiveAddress;

    private String receivePhone;
}